<include file="public@header" />
</head>
<body>
    <div class="wrap">
        <ul class="nav nav-tabs">
            <li><a href="{:url('manage/index')}">列表</a></li>
            <li class="active"><a >{:lang('ADD')}</a></li>
        </ul>
        <form method="post" class="form-horizontal js-ajax-form margin-top-20" enctype="multipart/form-data" action="{:url('manage/add')}">
            <div class="row">
                <div class="form-group">
                    <label for="input-name" class="col-sm-2 control-label">名称</label>
                    <div class="col-md-6 col-sm-10">
                        <input type="text" class="form-control" name="name" value="{$data.name|default=''}">
                    </div>
                </div>

                <div class="form-group">
                    <label for="input-name" class="col-sm-2 control-label">备注</label>
                    <div class="col-md-6 col-sm-10">
                        <input type="text" class="form-control" name="mark" value="{$data.mark|default=''}">
                    </div>
                </div>

                <div class="form-group">
                    <label for="input-name" class="col-sm-2 control-label">token</label>
                    <div class="col-md-6 col-sm-10">
                        <input type="text" class="form-control"  name="token" value="{$data['token']|default=''}">
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('确认')}</button>
                        <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <script src="__STATIC__/js/admin.js"></script>
</body>
</html>